package com.zzb.projectfactory.framework.autodoc.document.impl;

import com.zzb.projectfactory.framework.autodoc.bean.ConfigBean;
import com.zzb.projectfactory.framework.autodoc.bean.DocBean;
import com.zzb.projectfactory.framework.autodoc.document.AbstractCreateDocument;
import com.zzb.projectfactory.framework.autodoc.util.ITextPDFUtil;

import java.util.List;

/**
 * pdf创建文档实现类
 * Created by zhangzhenbin on 2017/2/13.
 */
public class PdfCreateDocumentImpl implements AbstractCreateDocument {
    @Override
    public void create(List<DocBean> docBeanList, ConfigBean configBean) {
        ITextPDFUtil.createPDF(docBeanList, configBean);
    }
}
